package game.block.blocks;

import game.block.entity.MovableEntity;
import game.block.entity.TrapEntity;
import game.block.game.Board;
import game.block.tile.Tile;
import game.block.trap.Ice;
import game.block.turn.Turn;

import com.badlogic.gdx.math.Vector2;

public class SandstoneBlock extends MovableEntity {

    public SandstoneBlock(Vector2 pos, Tile tile) {
        super(pos, tile, SANDSTONE_TILE, TYPE.KING);

    }

    @Override
    public boolean select(Turn currentTurn, Tile t, Board board) {
        return super.select(currentTurn, t, board);
    }

    @Override
    public boolean counterEffect(TrapEntity te) {
        if(te instanceof Ice){
            return true;
        }
        
        return false;
    }
    
    @Override
	public void setInfo() {
		info="Name:  Traction Block\n\nFunction:  Unaffected by ice";
	}

}
